package com.quanyan.club.service;

import com.quanyan.api.APIResponse;
import com.quanyan.mq.client.response.MqResponse;
import com.quanyan.orderpay.response.mq.OrderNotifyMsg;
import com.quanyan.orderpay.response.mq.RefundNotifyMsg;

/**
 * Created by zhang on 16/8/5.
 */
public interface ClubCallBackService {
    /**
     * 俱乐部成员充值成功回调
     * @param orderNotifyMsg
     * @return
     */
    APIResponse rechargePaySuccess(OrderNotifyMsg orderNotifyMsg);

    /**
     * 俱乐部成员充值关闭
     * @param orderNotifyMsg
     * @return
     */
    APIResponse rechargePayClose(OrderNotifyMsg orderNotifyMsg);

    /**
     * 俱乐部分享回调
     * @param uid
     * @param clubId
     * @param clubType
     * @return
     */
    MqResponse share(Integer uid, Integer clubId, Integer clubType);

    /**
     * 在线充值异常退款回调
     * @param refundNotifyMsg
     * @return
     */
    APIResponse rechargeApplyRefundCallBack(RefundNotifyMsg refundNotifyMsg);

    /**
     * 在线充值异常退款成功回调
     * @param refundNotifyMsg
     * @return
     */
    APIResponse rechargeRefundCallBack(RefundNotifyMsg refundNotifyMsg);
}
